const mongoose = require('mongoose');

// 声明Schema
const Schema = mongoose.Schema;

// 创建Schema
const categorySubSchema = new Schema({
  ID: { type: String, unique: true },
  MALL_CATEGORY_ID: String,
  MALL_SUB_NAME:String,
  COMMENTS: String,
  SORT: Number,
})

// 发布模型
mongoose.model('CategorySub', categorySubSchema);